<?php

Class ExpertViewModel extends ViewModel{
   public $viewFields = array(
     'User'=>array('id','image','headimgurl','name','hospital','department','position','socialposition','resume','praise','level','status','_type'=>'LEFT'),
     'UserLevel'=>array('level','discussprice','_on'=>'User.level=UserLevel.id'),
   );	
}